package com.itheima.day815.demo04;

public class Demo {
    public static void main(String[] args) {
        //无参构造学生对象
        Student stu = new Student();
        stu.setSid("heima007");
        stu.setName("大漂亮");
        stu.setAge("18");
        stu.setBirthday("2003-1-1");
        stu.show();

        System.out.println("------------------");

        //带参构造创建对象
        Student stu1 = new Student("heima003","小美丽","18","2003-1-2",88.9);
        stu1.show();
    }
}
